package com.capinfo.accumulation.service.accounting.impl;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


import com.capinfo.accumulation.model.accounting.Fzlxxglssj;
import com.capinfo.accumulation.model.accounting.Ztxglssj;
import com.capinfo.accumulation.parameter.accounting.FzlxxglssjParameter;
import com.capinfo.accumulation.parameter.accounting.ZtxglssjParameter;
import com.capinfo.accumulation.service.accounting.FzlxxglssjService;
import com.capinfo.commons.project.service.region.RegionService;
import com.capinfo.framework.dao.SearchCriteriaBuilder;
import com.capinfo.framework.dao.impl.restriction.RestrictionExpression;
import com.capinfo.framework.service.impl.CommonsDataOperationServiceImpl;

public class FzlxxglssjServiceImpl  extends CommonsDataOperationServiceImpl<Fzlxxglssj, FzlxxglssjParameter> implements FzlxxglssjService{
	 private static final Log logger = LogFactory.getLog(RegionService.class);
	 @Override
		public SearchCriteriaBuilder<Fzlxxglssj> getSearchCriteriaBuilder(FzlxxglssjParameter parameter) {
			SearchCriteriaBuilder<Fzlxxglssj> searchCriteriaBuilder = new SearchCriteriaBuilder<Fzlxxglssj>(Fzlxxglssj.class);
			searchCriteriaBuilder.addQueryCondition("id", RestrictionExpression.EQUALS_OP, parameter.getEntity().getId());
			searchCriteriaBuilder.addQueryCondition("fzlxszid", RestrictionExpression.EQUALS_OP, parameter.getEntity().getFzlxszid());

			return searchCriteriaBuilder;
		}
		

}
